//
// Created by zken on 2024/12/2.
//
#include <iostream>
using namespace std;
#include <vector>
#include <fstream>

#ifndef PROJECTLIZE_READUTIL_H
#define PROJECTLIZE_READUTIL_H


class readUtil {
public:
    static vector<string> readFile(const string& filePath)
    {
        vector<string> ret;
        string data;
        ifstream ifs(filePath);
        while (std::getline(ifs, data))
        {
            ret.push_back(data);
        }
        ifs.close();
        return ret;
    }
};


#endif //PROJECTLIZE_READUTIL_H
